import java.math.BigDecimal;
import java.time.LocalDateTime;

public  class PhoneFee {
    public static void main(String args[]) {
        Phone p1;
        p1= new Phone(2022,4,10,10,31,20,2022,4,10,18,30,0,true,false);
        long time=TimeCaculation.calculateTimeSpan(p1);
        System.out.println(time);
        BigDecimal fee;
        fee=FeeCaculation.calculateTimeSpan(time);
        System.out.println(fee);

    }
}



